class Solution {
public:
    void reverseString(vector<char>& s) {
        long long l=0;long long r=s.size()-1;
        while(l<r)
        {
            swap(s[l++],s[r--]);
        }
    }
};